home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gold Medal Software 2
/
Gold Medal Software Volume 2 (Gold Medal) (1994).iso
/
os2
/
secure2.arj
/
SAMPLE.CMD
< prev
next >
Wrap
OS/2 REXX Batch file
|
1993-08-06
|
2KB
|
40 lines
/* ----------------------------------------------------------
** SAMPLE.CMD
** The Secure Workplace
** Sample Object Creation Program
** ---------------------------------------------------------*/
'@echo off'
/* ---------------------------------------------------------
** Load the REXX Utility functions
** --------------------------------------------------------*/
call RxFuncAdd 'SysLoadFuncs', 'RexxUtil', 'SysLoadFuncs'
call SysLoadFuncs
/* ---------------------------------------------------------
** Create a Secure Folder on the Desktop
** --------------------------------------------------------*/
ClassName = 'SWSFolder'
Setup = 'OBJECTID=<SWP_SECUREFOLDER>;'
Title = 'Secure Folder^(Sample)'
Location = '<WP_DESKTOP>'
result = SysCreateObject(ClassName, Title, Location, Setup, 'R')
/* ---------------------------------------------------------
** Create a Restricted Folder on the Desktop
** --------------------------------------------------------*/
ClassName = 'SWRFolder'
Setup = 'OBJECTID=<SWP_RESTRICTFOLDER>;'
Title = 'Restricted Folder^(Sample)'
Location = '<WP_DESKTOP>'
result = SysCreateObject(ClassName, Title, Location, Setup, 'R')
/* ---------------------------------------------------------
** Create a Secure Program on the Deskop
** --------------------------------------------------------*/
ClassName = 'SWSProgram'
Setup = 'OBJECTID=<SWP_SECUREPROGRAM>;EXENAME=*;PROGTYPE=WINDOWABLEVIO;'
Title = 'Secure Program^(Sample)'
Location = '<WP_DESKTOP>'
result = SysCreateObject(ClassName, Title, Location, Setup, 'R')
exit